//
//  gameViewController.m
//  movie
//
//  Created by 白浩洋 on 2018/4/25.
//  Copyright © 2018年 白浩洋. All rights reserved.
//

#import "gameViewController.h"

@interface gameViewController ()

@end

@implementation gameViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self getResource];
}
- (void)getResource{
    NSDictionary *dic= @{@"deviceType":@"iPhone9,2",@"deviceId":@"9D99BA14-61F7-4F2A-AAA3-AF48DC825078",@"os":@"iOS",@"osVersion":@"11.3",@"app":@"GSApp",@"appVersion":@"4.0.0",@"request":@{@"type":@"fractions", @"gameClass":@"0",@"annualClass":@"all", @"elementsCountPerPage":@"20", @"pageIndex":@"1"}};
    [HYBNetworking postWithUrl:@"http://appapi2.gamersky.com/game/rankingList" refreshCache:YES params:dic success:^(id response) {
//        NSDictionary *dic = [
        NSLog(@"%@",response);
    } fail:^(NSError *error) {
        
    }];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
